gdk_gl_context_upload_texture() avoid conversion for pixbuf format
authorAlexander Larsson <alexl@redhat.com>
Thu, 24 Sep 2020 15:01:04 +0000 (17:01 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 25 Sep 2020 07:31:43 +0000 (09:31 +0200)
commitc71921a6be34fcad9807bd4c7e5ca5d09616475b
tree728b4a5c8571bfa844306cc73172025d9e377514
parent1001995d496573072171ed2200fa0c470ffac476
gdk_gl_context_upload_texture() avoid conversion for pixbuf format

The gdk-pixbuf non-rgba format can be directly uploaded without
conversion.

The rgba format needs alpha premultiplication though, which is not
supported by GL during upload.
gdk/gdkglcontext.c